package com.css.msgcenter.admin.msgapp.action;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.css.apps.base.dict.action.DirDict;
import com.css.core.model.IServiceResult;
import com.css.msgcenter.admin.msgapp.service.MsgAppService;
import com.css.util.Ajax;
import com.css.webbase.webwork.action.AdminAction;

public class DelMsgApp extends AdminAction{
	private static Log log = LogFactory.getLog(DirDict.class);
	private String ids;
	
	public DelMsgApp() {

	}
	@Override
	public String adminGo() {
		IServiceResult<?> res = MsgAppService.delMsgApp(ids);
		result = Ajax.JSONResult(res.getResultCode(), res.getResultDesc(),res.getResultObject());
		return res.toActionResult();
	}
	public String getIds() {
		return ids;
	}
	public void setIds(String ids) {
		this.ids = ids;
	}
	


}